import React from 'react';

import styles from './index.less';

const Field = ({ label, value, labelStyle, valueStyle, ...rest }) => (
  <div className={styles.field} {...rest}>
    <span style={labelStyle}>{label}</span>
    <span style={valueStyle}>{value}</span>
  </div>
);

export default Field;
